Skip to content

feat: Update Next.js with pages-router to v8.0.0-beta.4 #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 17, 2024

Conversation

s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Apr 25, 2024

No description provided.

@s1gr1d s1gr1d force-pushed the sig/nextjs-pages-router-v8 branch from fd13e20 to 8abfef8 Compare April 25, 2024 09:09
Comment on lines +97 to 99
"parent_span_id": "[[ID3]]",
"span_id": "[[ID4]]",
"trace_id": "[[ID2]]"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there some data missing in "trace"?

"timestamp": "[[timestamp]]",
"transaction": "GET /api/pages-router/test-param-error/1337"
"transaction": "GET /api/pages-router/test-param-error/[param]"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's better 👍🏻

Comment on lines -144 to -148
"tags": {
"http.status_code": "200",
"runtime": "node",
"transaction": "GET /api/pages-router/test-param-success/[param]"
},
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tags are not included anymore

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine and intended! The SDK should generally not set tags!

@@ -13,7 +13,7 @@
"sample_rate": "1",
"sampled": "true",
"trace_id": "[[ID2]]",
"transaction": "/pages-router/test-route-handlers"
"transaction": "GET /api/pages-router/test-param-error/[param]"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also seems like an improvement

@@ -176,11 +169,11 @@
{
"data": {
"sentry.op": "browser",
"sentry.origin": "auto.browser.browser.metrics"
"sentry.origin": "auto.ui.browser.metrics"
Copy link
Member Author

@s1gr1d s1gr1d Apr 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The origin changed here (also below)

@s1gr1d s1gr1d force-pushed the sig/nextjs-pages-router-v8 branch from 85c4177 to 5024e71 Compare April 25, 2024 12:14
Comment on lines -109 to -112
"hardwareConcurrency": "10",
"lcp.element": "body > div#__next > p",
"lcp.size": "[[highNumber]]",
"routing.instrumentation": "next-pages-router",
Copy link
Member Author

@s1gr1d s1gr1d Apr 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the should still be included 🤔
Or they are not included because there was no lcp event in this case. Other transactions also don't have it

@s1gr1d s1gr1d force-pushed the sig/nextjs-pages-router-v8 branch from 5024e71 to aaa2e43 Compare June 17, 2024 12:02
@s1gr1d s1gr1d merged commit 7e0e0ec into main Jun 17, 2024
@s1gr1d s1gr1d deleted the sig/nextjs-pages-router-v8 branch June 17, 2024 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants